projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8992b
)
(dired-internal-noselect): a zero modtime means directory is unchanged.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Jul 1994 19:55:26 +0000
(19:55 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 24 Jul 1994 19:55:26 +0000
(19:55 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index fa1d8ae3bbffb3eb7f2881d72fef001768706adb..f65197b41183fb7fbb2f885e5ea6c81a6fb167c6 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-402,7
+402,8
@@
If DIRNAME is already in a dired buffer, that buffer is used without refresh."
;; If directory has changed on disk, offer to revert.
(if (let ((attributes (file-attributes dirname))
(modtime (visited-file-modtime)))
- (or (not (eq (car attributes) t))
+ (or (eq modtime 0)
+ (not (eq (car attributes) t))
(and (= (car (nth 5 attributes)) (car modtime))
(= (nth 1 (nth 5 attributes)) (cdr modtime)))))
nil